import com.project.Bean.ShopBean;
import com.project.service.IMP.ShopService;
import com.project.service.IShopService;

import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

public class test {
    public static void main(String[] args) {
        IShopService shopService = new ShopService();
//        shopService.addShop(new ShopBean("luohao1","Apple",5000, LocalDate.parse("2001-01-04")));
//        shopService.deleteShopById(21);
//        shopService.updateShopPriceById(15,100);
//        System.out.println(shopService.findById(20));
//        System.out.println(shopService.findByNamePrice("", 1, 10000, 2));
//        System.out.println(shopService.getShopListByFactoryAndDateRange("Apple",
//                LocalDate.parse("2000-01-01"),
//                LocalDate.parse("2025-01-01"),1));
//        shopService.addShopList(List.of(
//                new ShopBean("luohao1","Apple",5000, LocalDate.parse("2001-01-04")),
//                new ShopBean("luohao2","Apple",5000, LocalDate.parse("2001-01-04")),
//                new ShopBean("luohao3","Apple",5000, LocalDate.parse("2001-01-04"))));
        shopService.delAll(new int[]{21,22});
    }
}
